package com.kj.report.model;

import org.springframework.data.annotation.Id;

import java.io.Serializable;
import java.util.Date;
import java.util.List;

public class ReportView implements Serializable {
    private static final long serialVersionUID = 1L;
    @Id
	private String inspectId; 						/* 检查记录ID */
	private Integer userId; 						/* 用户ID*/
	private Integer totalScore; 					/* 总分 */
	private Integer ranking;						/*总分排名*/
	private Date inspectDate;						/*报告时间*/
	private String inspectDateStr;
	private Integer age;							/*年龄*/
	private Integer inspectType; 					/* 检查报告类型（1：实名报告，2：昵称报告） */
	private Integer isCharge;						/*是否收费 （1：不收费、2：收费）*/
	private String agentId;							/*代理商ID*/
	private Integer reportType;						/*报告类型 1：正常版 2：简版 3:桌面机 4 大机器*/	
	private List<ImproveProposalView> improves;		/*改善建议*/
	private List<ReportFirstView> firsts;			/*一级指标*/
	private List<PhysicalConditionView> conditions;	/*身体状况*/
	private String reportStr;
	private String firstStr; 
	private String headIndex;
	private Integer sex;							/*1男0女*/
	private Integer deviceType;		 /*1 大机器 2 桌面机*/
	private String titleSex;		 /*用户性别*/
	private String deviceSnNum;		/*设备sn码*/
	private String deviceMacAddress; /* 设备mac */
	private Integer deviceId;		/*设备ID*/
	private String agentIds;		/*代理商关系ID*/
	private Integer sceneId;	/*场景ID*/
	private String sceneSecondId;/* 小场景ID*/
	private String recipesStr;	/*食谱数据*/
	
	public ReportView() {
		super();
	}

	public ReportView(String inspectId, Integer userId, Integer totalScore, Integer ranking, Date inspectDate,
			String inspectDateStr, Integer age, Integer inspectType, Integer isCharge, String agentId,
			Integer reportType, List<ImproveProposalView> improves, List<ReportFirstView> firsts,
			List<PhysicalConditionView> conditions, String reportStr, String firstStr, String headIndex, Integer sex,
			Integer deviceType, String titleSex, String deviceSnNum, String deviceMacAddress, Integer deviceId, 
			String agentIds, Integer sceneId, String sceneSecondId, String recipesStr) {
		super();
		this.inspectId = inspectId;
		this.userId = userId;
		this.totalScore = totalScore;
		this.ranking = ranking;
		this.inspectDate = inspectDate;
		this.inspectDateStr = inspectDateStr;
		this.age = age;
		this.inspectType = inspectType;
		this.isCharge = isCharge;
		this.agentId = agentId;
		this.reportType = reportType;
		this.improves = improves;
		this.firsts = firsts;
		this.conditions = conditions;
		this.reportStr = reportStr;
		this.firstStr = firstStr;
		this.headIndex = headIndex;
		this.sex = sex;
		this.deviceType = deviceType;
		this.titleSex = titleSex;
		this.deviceSnNum = deviceSnNum;
		this.deviceMacAddress = deviceMacAddress;
		this.deviceId = deviceId;
		this.agentIds = agentIds;
		this.sceneId = sceneId;
		this.sceneSecondId = sceneSecondId;
		this.recipesStr = recipesStr;
	}

	public String getInspectId() {
		return inspectId;
	}

	public void setInspectId(String inspectId) {
		this.inspectId = inspectId;
	}

	public Integer getUserId() {
		return userId;
	}

	public void setUserId(Integer userId) {
		this.userId = userId;
	}

	public Integer getTotalScore() {
		return totalScore;
	}

	public void setTotalScore(Integer totalScore) {
		this.totalScore = totalScore;
	}

	public Integer getRanking() {
		return ranking;
	}

	public void setRanking(Integer ranking) {
		this.ranking = ranking;
	}

	public Date getInspectDate() {
		return inspectDate;
	}

	public void setInspectDate(Date inspectDate) {
		this.inspectDate = inspectDate;
	}

	public String getInspectDateStr() {
		return inspectDateStr;
	}

	public void setInspectDateStr(String inspectDateStr) {
		this.inspectDateStr = inspectDateStr;
	}

	public Integer getAge() {
		return age;
	}

	public void setAge(Integer age) {
		this.age = age;
	}

	public Integer getInspectType() {
		return inspectType;
	}

	public void setInspectType(Integer inspectType) {
		this.inspectType = inspectType;
	}

	public Integer getIsCharge() {
		return isCharge;
	}

	public void setIsCharge(Integer isCharge) {
		this.isCharge = isCharge;
	}

	public String getAgentId() {
		return agentId;
	}

	public void setAgentId(String agentId) {
		this.agentId = agentId;
	}

	public Integer getReportType() {
		return reportType;
	}

	public void setReportType(Integer reportType) {
		this.reportType = reportType;
	}

	public List<ImproveProposalView> getImproves() {
		return improves;
	}

	public void setImproves(List<ImproveProposalView> improves) {
		this.improves = improves;
	}

	public List<ReportFirstView> getFirsts() {
		return firsts;
	}

	public void setFirsts(List<ReportFirstView> firsts) {
		this.firsts = firsts;
	}

	public List<PhysicalConditionView> getConditions() {
		return conditions;
	}

	public void setConditions(List<PhysicalConditionView> conditions) {
		this.conditions = conditions;
	}

	public String getReportStr() {
		return reportStr;
	}

	public void setReportStr(String reportStr) {
		this.reportStr = reportStr;
	}

	public String getFirstStr() {
		return firstStr;
	}

	public void setFirstStr(String firstStr) {
		this.firstStr = firstStr;
	}

	public String getHeadIndex() {
		return headIndex;
	}

	public void setHeadIndex(String headIndex) {
		this.headIndex = headIndex;
	}

	public Integer getSex() {
		return sex;
	}

	public void setSex(Integer sex) {
		this.sex = sex;
	}

	public Integer getDeviceType() {
		return deviceType;
	}

	public void setDeviceType(Integer deviceType) {
		this.deviceType = deviceType;
	}

	public String getTitleSex() {
		return titleSex;
	}

	public void setTitleSex(String titleSex) {
		this.titleSex = titleSex;
	}

	public String getDeviceSnNum() {
		return deviceSnNum;
	}

	public void setDeviceSnNum(String deviceSnNum) {
		this.deviceSnNum = deviceSnNum;
	}

	public String getDeviceMacAddress() {
		return deviceMacAddress;
	}

	public void setDeviceMacAddress(String deviceMacAddress) {
		this.deviceMacAddress = deviceMacAddress;
	}

	public Integer getDeviceId() {
		return deviceId;
	}

	public void setDeviceId(Integer deviceId) {
		this.deviceId = deviceId;
	}

	public String getAgentIds() {
		return agentIds;
	}

	public void setAgentIds(String agentIds) {
		this.agentIds = agentIds;
	}

	/**
	 * @return sceneId
	 */
	public Integer getSceneId() {
		return sceneId;
	}

	/**
	 * @param sceneId 要设置的 sceneId
	 */
	public void setSceneId(Integer sceneId) {
		this.sceneId = sceneId;
	}

	/**
	 * @return sceneSecondId
	 */
	public String getSceneSecondId() {
		return sceneSecondId;
	}

	/**
	 * @param sceneSecondId 要设置的 sceneSecondId
	 */
	public void setSceneSecondId(String sceneSecondId) {
		this.sceneSecondId = sceneSecondId;
	}

	public String getRecipesStr() {
		return recipesStr;
	}

	public void setRecipesStr(String recipesStr) {
		this.recipesStr = recipesStr;
	}
	
}
